/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package uimigration.Interactions;

import uimigration.Plateform.Device;
import uimigration.mappingmodel.ActionType;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Action</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link uimigration.Interactions.Action#getIdAction <em>Id Action</em>}</li>
 *   <li>{@link uimigration.Interactions.Action#getName <em>Name</em>}</li>
 *   <li>{@link uimigration.Interactions.Action#getComposedActions <em>Composed Actions</em>}</li>
 *   <li>{@link uimigration.Interactions.Action#getType <em>Type</em>}</li>
 * </ul>
 * </p>
 *
 * @see uimigration.Interactions.InteractionsPackage#getAction()
 * @model abstract="true"
 * @generated
 */
public interface Action extends Input {
	/**
	 * Returns the value of the '<em><b>Id Action</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Id Action</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Id Action</em>' attribute.
	 * @see #setIdAction(int)
	 * @see uimigration.Interactions.InteractionsPackage#getAction_IdAction()
	 * @model
	 * @generated
	 */
	int getIdAction();

	/**
	 * Sets the value of the '{@link uimigration.Interactions.Action#getIdAction <em>Id Action</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Id Action</em>' attribute.
	 * @see #getIdAction()
	 * @generated
	 */
	void setIdAction(int value);

	/**
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Name</em>' attribute.
	 * @see #setName(String)
	 * @see uimigration.Interactions.InteractionsPackage#getAction_Name()
	 * @model
	 * @generated
	 */
	String getName();

	/**
	 * Sets the value of the '{@link uimigration.Interactions.Action#getName <em>Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Name</em>' attribute.
	 * @see #getName()
	 * @generated
	 */
	void setName(String value);

	/**
	 * Returns the value of the '<em><b>Composed Actions</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Composed Actions</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Composed Actions</em>' reference.
	 * @see #setComposedActions(Action)
	 * @see uimigration.Interactions.InteractionsPackage#getAction_ComposedActions()
	 * @model
	 * @generated
	 */
	Action getComposedActions();

	/**
	 * Sets the value of the '{@link uimigration.Interactions.Action#getComposedActions <em>Composed Actions</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Composed Actions</em>' reference.
	 * @see #getComposedActions()
	 * @generated
	 */
	void setComposedActions(Action value);

	/**
	 * Returns the value of the '<em><b>Type</b></em>' attribute.
	 * The literals are from the enumeration {@link uimigration.mappingmodel.ActionType}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Type</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Type</em>' attribute.
	 * @see uimigration.mappingmodel.ActionType
	 * @see #setType(ActionType)
	 * @see uimigration.Interactions.InteractionsPackage#getAction_Type()
	 * @model
	 * @generated
	 */
	ActionType getType();

	/**
	 * Sets the value of the '{@link uimigration.Interactions.Action#getType <em>Type</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Type</em>' attribute.
	 * @see uimigration.mappingmodel.ActionType
	 * @see #getType()
	 * @generated
	 */
	void setType(ActionType value);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model
	 * @generated
	 */
	void fire(Behaviour behavior, Device device);

} // Action
